{%include file="m.index.header.tpl.php"%}
<!--头部 end--> 
<!--主体部分-->
<div class="container" style="margin-top:70px;">
  <div class="row" style="margin-top:10px;">
    <form action="" method="get">
      <div class="col-sm-12 distance hierarchy" >
        <div class="form-group">
          <label for="inputEmail3" class="col-sm-2 control-label">班级:</label>
          <div class="col-sm-10">
            <input type="text" id="" class="form-control " name="class_name" value="{%$class_name%}">
          </div>
        </div>
      </div>
      <div class="col-sm-12 distance hierarchy2" >
        <div class="form-group">
          <label for="inputEmail3" class="col-sm-2 control-label">原学科:</label>
          <div class="col-sm-10">
            <input type="text" id="" class="form-control " name="from_subjectname" value="{%$from_subjectname%}" >
          </div>
        </div>
      </div>
      <div class="col-xs-12  distance hierarchy2">
        <div class="form-group text-center" style="padding-top:0px;">
		  <input type="hidden" name="a" value="absent.list">
          <button type="submit" class="btn btn-success" style="width:80%">搜索</button>
        </div>
      </div>
    </form>
  </div>
  <div class="row" style="margin-top:15px;margin-left:1px; margin-right:1px;" >
  {%foreach from=$absent_lists key=key item=value%}
    <table class="table table-striped table-bordered text-center"  id="middles" >
      <tr>
        <td>班级</td>
        <td>{%$value.class_name%}</td>
      </tr>
      <tr>
        <td>原学科</td>
        <td>{%$value.from_subjectname%}</td>
      </tr>
      <tr>
        <td>星期</td>
        <td>{%$value.absent_week%}</td>
      </tr>
      <tr>
        <td>开始日期</td>
        <td>{%$value.start_time%}</td>
      </tr>
      <tr>
        <td>结束日期</td>
        <td>{%$value.end_time%}</td>
      </tr>
      <tr>
        <td>节次</td>
        <td>{%$value.absent_section%}</td>
      </tr>
      <tr>
        <td>原科任</td>
        <td>{%$value.from_staffname%}</td>
      </tr>
      <tr>
        <td>原因</td>
        <td>{%$value.absent_note%}</td>
      </tr>
      <tr>
        <td>代理学科</td>
        <td>{%$value.to_subjectname%}</td>
      </tr>
      <tr>
        <td>代课教师</td>
        <td>{%$value.to_staffname%}</td>
      </tr>
      <tr>
        <td>录入时间</td>
        <td>{%$value.create_time%}</td>
      </tr>
    </table>
{%/foreach%}
  </div>
</div>
<!--container  end--> 
<!--主体部分  end--> 
{%include file="m.index.footer.tpl.php"%}
